<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<jsp:include page="header.jsp" />
${msg }<br>
<form action="addGoodsAction" method="post" >
<table>
<tr>
	<td>商品ID:</td>
	<td><input type="text" name="goods.gid"/></td>
	<td><s:fielderror><s:param>goods.gid</s:param></s:fielderror></td>
</tr>
<tr>
	<td>商品名称:</td>
	<td><input type="text" name="goods.gname"/></td>
	<td><s:fielderror><s:param>goods.gname</s:param></s:fielderror></td>
</tr>
<tr>
	<td><input type="reset" value="重置" /></td>
	<td><input type="submit" value="添加"></td>
</tr>
</table>
</form>
</body>
</html>